<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>createAlipaySingleUseParams</title>
    <link href="../../../../styles/style.css" rel="Stylesheet">
    <script type="text/javascript" src="../../../../scripts/navigationLoader.js" async="async"></script>
    <script type="text/javascript" src="../../../../scripts/platformContentHandler.js" async="async"></script>
    <script type="text/javascript" src="../../../../scripts/sourceset_dependencies.js" async="async"></script>
    <script type="text/javascript" src="../../../../scripts/clipboard.js" async="async"></script>
    <link href="../../../../styles/jetbrains-mono.css" rel="Stylesheet">
    <script>var pathToRoot = "../../../../";</script>
  </head>
  <body>
    <div id="container">
      <div id="leftColumn">
        <div id="logo"></div>
        <div id="sideMenu"></div>
      </div>
      <div id="main">
        <div id="searchBar"></div>
        <script type="text/javascript" src="../../../../scripts/pages.js"></script>
        <script type="text/javascript" src="../../../../scripts/main.js"></script>
        <div id="content" pageIds="com.stripe.android.model/SourceParams.Companion/createAlipaySingleUseParams/#kotlin.Long#kotlin.String#kotlin.String?#kotlin.String?#kotlin.String/PointingToDeclaration/">
          <div class="breadcrumbs">//<a href="../../../index.html">stripe</a>/<a href="../../index.html">com.stripe.android.model</a>/<a href="../index.html">SourceParams</a>/<a href="index.html">Companion</a>/<a href="create-alipay-single-use-params.html">createAlipaySingleUseParams</a></div>
          <div class="cover ">
            <h1 class="cover"><a data-name="createalipaysingleuseparams"></a>createAlipaySingleUseParams</h1>
          </div>
<div class="divergent-group" data-filterable-current=":stripe/main" data-filterable-set=":stripe/main"><div class="brief-with-platform-tags"><div class="inner-brief-with-platform-tags"><div class="block"><div class="block">Create single-use Alipay Source params.</div></div><div class="block"><h4 class="block"><a data-name="return"></a>Return</h4><div class="block">a <a href="../index.html">SourceParams</a> that can be used to create an Alipay single-use source</div></div><h2 class=""><a data-name="seealso"></a>See also</h2><div data-togglable="See also"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="See also"><div class="content sourceset-depenent-content" data-active="" data-togglable=":stripe/main"><div data-togglable="See also"><div class="table" data-togglable="See also"><a data-name="com.stripe.android.model/SourceParams.Companion/createAlipaySingleUseParams/#kotlin.Long#kotlin.String#kotlin.String?#kotlin.String?#kotlin.String/PointingToDeclaration/"></a><div class="table-row" data-filterable-current=":stripe/main" data-filterable-set=":stripe/main"><div class="platform-dependent-row keyValue"><div><div data-togglable="See also"><a href="https://stripe.com/docs/sources/alipay">Alipay Payments with Sources</a></div></div><div class="title"></div></div></div></div></div></div></div></div><h2 class=""><a data-name="parameters"></a>Parameters</h2><div data-togglable="Parameters"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="Parameters"><div class="content sourceset-depenent-content" data-active="" data-togglable=":stripe/main"><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><a data-name="com.stripe.android.model/SourceParams.Companion/createAlipaySingleUseParams/#kotlin.Long#kotlin.String#kotlin.String?#kotlin.String?#kotlin.String/PointingToDeclaration/"></a><div class="table-row" data-filterable-current=":stripe/main" data-filterable-set=":stripe/main"><div class="platform-dependent-row keyValue"><div>amount</div><div class="title"><div data-togglable="Parameters">A positive integer in the smallest currency unit representing the amount to charge the customer (e.g., 1099 for a $10.99 payment).</div></div></div></div><a data-name="com.stripe.android.model/SourceParams.Companion/createAlipaySingleUseParams/#kotlin.Long#kotlin.String#kotlin.String?#kotlin.String?#kotlin.String/PointingToDeclaration/"></a><div class="table-row" data-filterable-current=":stripe/main" data-filterable-set=":stripe/main"><div class="platform-dependent-row keyValue"><div>currency</div><div class="title"><div data-togglable="Parameters">The currency of the payment. Must be the default currency for your country. Can be aud, cad, eur, gbp, hkd, jpy, nzd, sgd, or usd. Users in Denmark, Norway, Sweden, or Switzerland must use eur.</div></div></div></div><a data-name="com.stripe.android.model/SourceParams.Companion/createAlipaySingleUseParams/#kotlin.Long#kotlin.String#kotlin.String?#kotlin.String?#kotlin.String/PointingToDeclaration/"></a><div class="table-row" data-filterable-current=":stripe/main" data-filterable-set=":stripe/main"><div class="platform-dependent-row keyValue"><div>email</div><div class="title"><div data-togglable="Parameters">The email address of the account holder (optional).</div></div></div></div><a data-name="com.stripe.android.model/SourceParams.Companion/createAlipaySingleUseParams/#kotlin.Long#kotlin.String#kotlin.String?#kotlin.String?#kotlin.String/PointingToDeclaration/"></a><div class="table-row" data-filterable-current=":stripe/main" data-filterable-set=":stripe/main"><div class="platform-dependent-row keyValue"><div>name</div><div class="title"><div data-togglable="Parameters">The name of the account holder (optional).</div></div></div></div><a data-name="com.stripe.android.model/SourceParams.Companion/createAlipaySingleUseParams/#kotlin.Long#kotlin.String#kotlin.String?#kotlin.String?#kotlin.String/PointingToDeclaration/"></a><div class="table-row" data-filterable-current=":stripe/main" data-filterable-set=":stripe/main"><div class="platform-dependent-row keyValue"><div>returnUrl</div><div class="title"><div data-togglable="Parameters">The URL the customer should be redirected to after the authorization process.</div></div></div></div></div></div></div></div></div></div>
<span class="pull-right"></span></div>

  <div class="main-subrow">
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":stripe/main"><div class="symbol "><div class="symbol monospace"><div class="block"><div class="block">@<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-static/index.html">JvmStatic</a>()</div></div>fun <a href="create-alipay-single-use-params.html">createAlipaySingleUseParams</a>(amount: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>, currency: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, name: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, email: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, returnUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>): <a href="../index.html">SourceParams</a><span class="top-right-position"><span class="copy-icon"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path fill-rule="evenodd" clip-rule="evenodd" d="M5 4H15V16H5V4ZM17 7H19V18V20H17H8V18H17V7Z" fill="black"/>
                       </svg></span><div class="copy-popup-wrapper popup-to-left"><svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path d="M18 9C18 14 14 18 9 18C4 18 0 14 0 9C0 4 4 0 9 0C14 0 18 4 18 9ZM14.2 6.2L12.8 4.8L7.5 10.1L5.3 7.8L3.8 9.2L7.5 13L14.2 6.2Z" fill="#4DBB5F"/>
</svg><span>Content copied to clipboard</span></div></span></div></div></div></div>
  </div>
</div>
        </div>
        <div class="footer"><span class="go-to-top-icon"><a href="#container"><svg width="12" height="10" viewBox="0 0 12 10" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path d="M11.3337 9.66683H0.666992L6.00033 3.66683L11.3337 9.66683Z" fill="black"/>
    <path d="M0.666992 0.333496H11.3337V1.66683H0.666992V0.333496Z" fill="black"/>
</svg></a></span><span>© 2020 Copyright</span><span class="pull-right"><span>Sponsored and developed by dokka</span><a href="https://github.com/Kotlin/dokka"><span class="padded-icon"><svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path d="M8 0H2.3949L4.84076 2.44586L0 7.28662L0.713376 8L5.55414 3.15924L8 5.6051V0Z" fill="black"/>
</svg></span></a></span></div>
      </div>
    </div>
  </body>
</html>

